package com.ruogu.codegeneration.model.dto.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author ruogu
 */
@Data
@Schema(description = "应用更新请求")
public class AppUpdateRequest implements Serializable {

    /**
     * id
     */
    @Schema(description = "应用ID", example = "1")
    private Long id;

    /**
     * 应用名称
     */
    @Schema(description = "应用名称", example = "智能代码生成器")
    private String appName;

    /**
     * 应用封面
     */
    @Schema(description = "应用封面URL", example = "https://example.com/cover.jpg")
    private String cover;

    /**
     * 优先级
     */
    @Schema(description = "优先级", example = "1")
    private Integer priority;

    @Serial
    private static final long serialVersionUID = 1L;
}
